package com.zm.xiaohashu.count.biz.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zm.xiaohashu.count.biz.domain.UserCount;
import org.apache.ibatis.annotations.Param;

/**
* @author 24690
* @description 针对表【t_user_count(用户计数表)】的数据库操作Mapper
* @createDate 2025-08-17 13:38:58
* @Entity .domain.UserCount
*/
public interface UserCountMapper extends BaseMapper<UserCount> {

    void insertOrUpdateFansTotal(@Param("userId") Long userId, @Param("count") Integer count);

    void insertOrUpdateFollowingTotal(@Param("userId") long userId, @Param("count") Integer count);

    void insertOrUpdateByNote(@Param("count") Integer count, @Param("userId") long userId);
}




